#ifndef SYMBOLVAR_HPP
#define SYMBOLVAR_HPP

#include "Symbol.hpp"
#include "Expression.hpp"

class SymbolVar : public Symbol {
	private:
		Expression * expression;

	public:	
		SymbolVar(Type * t, int identValue);
		~SymbolVar();
		void show();
		Symbol * clone();

		Expression * getExpression();
		void setExpression(Expression * expression);
		bool hasExpression();
};

class SymbolRecord : public Symbol {
	private:
		int position;
	public:	
		SymbolRecord(Type * t, int pos);
		~SymbolRecord();
		void show();
		Symbol * clone();

};


#endif
